package com.yyb.mapper;

import com.yyb.domain.SysDictType;
import com.yyb.dto.SysDictTypeQueryDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author LJH
* @description 针对表【sys_dict_type(字典类型表)】的数据库操作Mapper
* @createDate 2024-02-22 22:48:38
* @Entity com.yyb.domain.SysDictType
*/
public interface SysDictTypeMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysDictType record);

    int insertSelective(SysDictType record);

    SysDictType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysDictType record);

    int updateByPrimaryKey(SysDictType record);

    /**
     * 查询字典类型数据
     * @param params
     * @return
     */
    List<SysDictType> queryAllDictType(@Param("params") SysDictTypeQueryDTO params);
}
